
package com.mt.api.modules.domain.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author plover
 * @description /
 * @date 2020-07-06
 **/
@Data
public class AppInstoreAddBo implements Serializable {

    private Integer id;

    @ApiModelProperty(value = "入库备注")
    private String remark;

    @ApiModelProperty(value = "颜色尺码数据")
    private List<InstoreDetail> instoreDetails;

    @Data
    public static class InstoreDetail {

        @ApiModelProperty(value = "款id")
        private Integer cargoId;

        @ApiModelProperty(value = "款号")
        private String cargoNo;

        @ApiModelProperty(value = "数量")
        private List<AppInstoreAddBo.SimpleSkuInfo> skuInfoList;

    }

    @Data
    public static class SimpleSkuInfo {

        private Integer id;

        @ApiModelProperty(value = "数量")
        private Integer qty;

        @ApiModelProperty(value = "sku主键id")
        private Integer skuId;

    }

}